package com.cst.security.baseUtils.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

//读取所有配置文件中以'dkd.security'开头的配置项
@ConfigurationProperties(prefix = "dkd.security")
public class SecurityProperties {

	BrowserProperties browser = new BrowserProperties();

	public BrowserProperties getBrowser() {
		return browser;
	}

	public void setBrowser(BrowserProperties browser) {
		this.browser = browser;
	}

	OAuth2ClientProperties oauth2 = new OAuth2ClientProperties();

	public OAuth2ClientProperties getOauth2() {
		return oauth2;
	}

	public void setOauth2(OAuth2ClientProperties oauth2) {
		this.oauth2 = oauth2;
	}
}
